__author__ = "esoso"
__date__ = "$Jun 25, 2009 4:56:53 PM$"

class Error(Exception):
    def __str__(self):
        return repr(self.value)

class NotInGameError(Error):
    def __init__(self, card):
        self.card = card

class NotInHandError(Error):
    def __init__(self, card):
        self.card = card

class NotEnoughManaError(Error):
    def __init__(self, cost, manaPool):
        self.cost = cost
        self.manaPool = manaPool